package Data.Shopuser;

import java.io.Serializable;

public class User implements Serializable{
	protected int type;
	protected String id;
	protected String name;
	protected String password;
	
	public User(){
		
	}
	
	public User(String id,String name,String password){
		this.id=id;
		this.name=name;
		this.password=password;
	}
	
	public User(int type,String id,String name,String password){
		this.type=type;
		this.id=id;
		this.name=name;
		this.password=password;
	}
	
	public String getid(){
		return id;
	}
	
	public void setid(String id){
		this.id=id;
	}
	
	public String getname(){
		return name;
	}
	
	public void setname(String name){
		this.name=name;
	}
	
	public String getpassword(){
		return password;
	}
	
	public void setpassword(String password){
		this.password=password;
	}
	
	public String toString(){
		return id+" "+password;
	}

}
